﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Easy.Operation.Expression
{
    public class ConditionExpression
    {
        public string AttributeName
        {
            get;
            set;
        }
        public ConditionOperator Operator
        {
            get;
            set;
        }
        public List<object> Values
        {
            get;
            set;
        }
    }
    public enum ConditionOperator
    {
        Between,
        Equal,
        GreaterEqual,
        GreaterThan,
        In,
        LessEqual,
        LessThan,
        Like,
        NotBetween,
        NotEqual,
        NotIn,
        NotLike,
        NotNull,
        Null,
        Len, //长度 仅限于nvarchar
        EqualUserId,
        NotEqualUserId,
        EqualBusinessId,
        NotEqualBusinessId
    }
}
